Skip to main content

TranslateListWithElements<T>

Assembly: ServiceStack.Text.dll
View Source
Declaration
public class TranslateListWithElements<T>

Methods

CreateInstance(Type)

View Source
Declaration
public static object CreateInstance(Type toInstanceOfType)
Returns

System.Object

Parameters
TypeName
System.TypetoInstanceOfType

TranslateToIList(IList, Type)

View Source
Declaration
public static IList TranslateToIList(IList fromList, Type toInstanceOfType)
Returns

System.Collections.IList

Parameters
TypeName
System.Collections.IListfromList
System.TypetoInstanceOfType

LateBoundTranslateToGenericICollection(Object, Type)

View Source
Declaration
public static object LateBoundTranslateToGenericICollection(object fromList, Type toInstanceOfType)
Returns

System.Object

Parameters
TypeName
System.ObjectfromList
System.TypetoInstanceOfType

TranslateToGenericICollection(IEnumerable, Type)

View Source
Declaration
public static ICollection<T> TranslateToGenericICollection(IEnumerable fromList, Type toInstanceOfType)
Returns

System.Collections.Generic.ICollection<<T>>

Parameters
TypeName
System.Collections.IEnumerablefromList
System.TypetoInstanceOfType